import datetime
import doctest

import sphinx_rtd_theme

import os
import sys

sys.path.insert(0, os.path.abspath('../..'))

project = 'si_lib'
copyright = '2023, jin hu, xiang huang'
author = 'jin hu, xiang huang'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.intersphinx',
    'sphinx.ext.mathjax',
    'sphinx.ext.napoleon',
    'sphinx.ext.viewcode',
    'sphinx.ext.todo',
]

autodoc_default_options = {
    "members": True,
    'special-members': '__init__',
    # "undoc-members": True,
    # "private-members": True
}

templates_path = ['_templates']
exclude_patterns = []

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
